<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- <meta http-equiv="X-UA-Compatible" content="ie=edge"> -->
    <link href="./js/rating/rating.css" rel="stylesheet" type="text/css" />
    <title>Document</title>
</head>
<body>
    <img src="img/require.png" alt="" srcset="">
    <h1>require</h1>
    <button id="user">获取用户信息并且打印</button>

    <div id="rating" class="rating">
        <div class="rating-display"></div>
        <ul class="rating-mask">
        </ul>
    </div>

    <!-- 配置baseUrl：第二种方法，设置主入口，之后所有的加载都吧入口作为baseUrl -->
    <!-- <script data-main="js/app" src="js/require.js"></script> -->

    <!-- 配置baseUrl：方法一：这个时候requirejs的baseurl是html页面本身 -->
    <!-- <script src="js/require.js"></script>
    <script src="js/app.js"></script> -->

    <!-- 配置baseUrl：方法三：在app中config配置 -->
    <script src="js/lib/require.js"></script>
    <script src="js/require.config.js"></script>
    <script src="js/app.js"></script>
</body>
</html>